package cn.edu.djtu.fw.dao;

import java.util.List;

import cn.edu.djtu.fw.model.News;

public interface NewsMapper {
	int deleteByPrimaryKey(Integer nid);

	int insert(News news);

	int insertSelective(News news);

	News selectByPrimaryKey(Integer nid);

	int updateByPrimaryKeySelective(News news);

	int updateByPrimaryKey(News news);

	List<News> getAllNews(News news);
}